Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

175
Visualizações
ng-repeat do not work on arrays of length > 23

Hello StackOverflow people !

TLDR; Fixed, my array was containing duped elements. On my way to clean this array ! Thanks @Igor for the light !

I'm currently working on a relic of the past : Angular JS (1.6) The problem here is simple : I have some divs that need to be repeated for each elements of an Array, things works perfect until the arrays exceed a length of 23 ...

Here's the code snippet of my issue :

<h4>
  <span ng-repeat="tag in editDocument.Tags | limitTo: 100" class="badge badge-pill badge-info">
    <span ng-bind-html="tag"></span>
    <a href="" ng-click="action_deleteTag_documentRow($event, editDocument.Id)">
      &times; 
    </a>
  </span>
</h4>

editDocument.Tags is populated with this array :

[
      'aerials',
      'aérien',
      'aériens',
      'fortress',
      'fortresses',
      'forteresse',
      'forteresses',
      'littoral ',
      'littoraux ',
      'nature ',
      'natures ',
      'mer ',
      'sea ',
      'coastline ',
      'eau ',
      'water',
      'architectures ',
      'architecture ',
      'patrimoine ',
      'patrimoines ',
      'heritage ',
      'monuments ',
      'monument ',
      'nature ',
      'natures ',
      'landscape ',
      'landscapes ',
      'paysage ',
      'paysages',
      'informative',
      'visit',
      'security',
      'work',
      'refreshment',
      'Fort-Brégançon',
      'opened',
      'public',
      'President',
      'François-Hollande',
      'managed',
      'Presidency-of-the-Republic',
      'site',
      'open',
      'reservation',
      'Bormes-les-Mimosas',
      'tourist-office',
      'quotes',
      'groups',
      'guided-tour',
      'last',
    ];

You can see here that I already tried to raise the limit by using the limitTo: 100 but it changes nothing.

I hope someone has a cheatcode for this. And obviously thank you for reading and brainstorming with me on this issue.

PS. : I log everytime the editDocument.Tags in order to check if the array is populated (it is.)

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda